package com.example.demo.niuke.huawei_b;

import java.util.Scanner;

/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname _1进制转换
 * @description
 * @date 2023/08/30 21:38
 * <p>
 * ******************************************************
 */
public class _1进制转换 {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String next = in.next();
        System.out.println(Integer.parseInt(next.substring(2), 16));
    }
}
